<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    [1, 3, 71, 5, 6, 69, 8].forEach(function (item, index) {
      //当前项值,当前项的索引值
      console.log(item,index);
    })
  </script>
</body>

</html>